package com.cmos.um.utils;

import java.io.Serializable;

public class Result<T> implements Serializable {
    private String rtnCode;
    private String rtnMSg;
    private T bean;
    private T beans;
    private T object;

    public String getRtnCode() {
        return rtnCode;
    }

    public void setRtnCode(String rtnCode) {
        this.rtnCode = rtnCode;
    }

    public String getRtnMSg() {
        return rtnMSg;
    }

    public void setRtnMSg(String rtnMSg) {
        this.rtnMSg = rtnMSg;
    }

    public T getBean() {
        return bean;
    }

    public void setBean(T bean) {
        this.bean = bean;
    }

    public T getBeans() {
        return beans;
    }

    public void setBeans(T beans) {
        this.beans = beans;
    }

    public T getObject() {
        return object;
    }

    public void setObject(T object) {
        this.object = object;
    }

    @Override
    public String toString() {
        return "Result{" +
                "rtnCode='" + rtnCode + '\'' +
                ", rtnMSg='" + rtnMSg + '\'' +
                ", bean=" + bean +
                ", beans=" + beans +
                ", object=" + object +
                '}';
    }
}
